﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OA.Model.View
{
    
    public class VWaitForHandling
    {
        /*SELECT      dbo.Voucher.CustomFormID, dbo.Approvals.VoucherID, dbo.CustomForm.Name, dbo.Voucher.Title, dbo.Voucher.No, dbo.Voucher.ApplicationDate, 
                   dbo.Voucher.Sponsor, dbo.Approvals.ID AS ApprovalID, dbo.Employee.EmpName
FROM         dbo.Voucher INNER JOIN
                   dbo.CustomForm ON dbo.Voucher.CustomFormID = dbo.CustomForm.ID INNER JOIN
                   dbo.Approvals ON dbo.Voucher.ID = dbo.Approvals.VoucherID INNER JOIN
                   dbo.Employee ON dbo.Voucher.Sponsor = dbo.Employee.EmpID*/

        public int ID { get; set; }

        public int ApprovalID { get; set; }


        public int CustomID { get; set; }

        public int FormID { get; set; } 
        

        public string Title { get; set; }

        public string No { get; set; }  

        public DateTime CreateDateTime { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime? ApprovalTime { get; set; }

        /// <summary>
        /// 0：待审核 1：需要说明 2：审核通过  3:审核不同
        /// </summary>
        public int Status { get; set; }

        public string EmpID { get; set; }

        public string RealEmpID { get; set; }

        public string SponsorEmpID { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public string EmpName { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 发起岗位
        /// </summary>
        public int SponsorPositionID { get; set; }


        public string Suspense { get; set; }

        public string Pic { get; set; }


        public DateTime ArrivalTime { get; set; }


    }


}
